package com.zlxlsvue;

import com.zlxlsvue.framework.util.SimpSM2Util;
import com.zlxlsvue.framework.util.Sm4PasswordEncoder;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

import java.security.Security;
import java.util.Map;

/**
 * 启动程序
 *
 * @author
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@EnableDiscoveryClient
public class ProjectApplication
{




    public static void main(String[] args) throws Exception {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(ProjectApplication.class, args);
        System.out.println(
                "/////////////////////////////////////////////////////////////////////\n" +
                        "//                       .::::.                                    //\n" +
                        "//                     .::::::::.                                  //\n" +
                        "//                    :::::::::::                                  //\n" +
                        "//                 ..:::::::::::'                                  //\n" +
                        "//              '::::::::::::'                                     //\n" +
                        "//                .::::::::::                                      //\n" +
                        "//           '::::::::::::::..                                     //\n" +
                        "//                ..::::::::::::.                                  //\n" +
                        "//              ``::::::::::::::::                                 //\n" +
                        "//               ::::``:::::::::'        .:::.                     //\n" +
                        "//              ::::'   ':::::'       .::::::::.                   //\n" +
                        "//            .::::'      ::::     .:::::::'::::.                  //\n" +
                        "//           .:::'       :::::  .:::::::::' ':::::.                //\n" +
                        "//          .::'        :::::.:::::::::'      ':::::.              //\n" +
                        "//         .::'         ::::::::::::::'         ``::::.            //\n" +
                        "//     ...:::           ::::::::::::'              ``::.           //\n" +
                        "//    ```` ':.          ':::::::::'                  ::::..        //\n" +
                        "//                       '.:::::'                    ':'````..     //\n" +
                        "//                   美女保佑`启动成功                              //\n" +
                        "/////////////////////////////////////////////////////////////////////\n"
        );


        //System.out.println(Sm4PasswordEncoder.generateKey());

        //SimpSM2Util.createKey();



    }
}
